package com.ygqh.baby.po;

import java.io.Serializable;
import java.util.List;

import com.ygqh.baby.ao.DataStatus;

public class AdminPermission implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 7412503485185130084L;

	private Long id;

    private String name;

    private String type;

    private String url;

    private String percode;

    private Long parentId;

    private String parentIds;

    private Integer sortNum;

    private DataStatus status;
    
    
    
    //----------------子权限
    private List<AdminPermission> childAdminPermissions;
    
    
    public List<AdminPermission> getChildAdminPermissions() {
		return childAdminPermissions;
	}

	public void setChildAdminPermissions(List<AdminPermission> childAdminPermissions) {
		this.childAdminPermissions = childAdminPermissions;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getPercode() {
        return percode;
    }

    public void setPercode(String percode) {
        this.percode = percode == null ? null : percode.trim();
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds == null ? null : parentIds.trim();
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}